/*
 * list.h
 *
 *  Created on: Jun 14, 2010
 *      Author: Guilherme
 */

#ifndef LIST_H_
#define LIST_H_

#include <stdlib.h>
#include <stdio.h>

struct node {
	int nodeID;
	int linkCost;
	struct node *next;
};

struct node;
typedef struct node *LinkedList;

LinkedList append_node(LinkedList, int, int);
LinkedList remove_node(LinkedList n);
LinkedList empty(LinkedList);
void print_list(LinkedList);

#endif /* LIST_H_ */
